# Copyright 2020 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


import numpy as np
path="./"

variable_input_data = np.array(
[-0.07781442,0.032140177,-0.15441476,-0.04005924,-0.06377629,-0.078062385,-0.0633634,0.008655868,-0.1218747,-0.11893497,
-0.0287044,-0.026438994,-0.12543377,0.07616455,-0.09908127,0.042736236,0.044175867,-0.020486027,-0.053035382,0.06082631,
0.0060927942,0.06447679,-0.12283817,-0.18715028,-0.13908666,-0.041993566,-0.052194223,-0.053968653,-0.10050267,0.026122741,
-0.044747617,0.033716116,0.120259024,-0.00905911,0.07077086,-0.13044074,-0.026190057,-0.100056164,-0.041078314,-0.007304501,
-0.044777695,-0.08084387,-0.06370249,0.016915163,-0.035168044,-0.104973614,-0.15401964,0.04772417,-0.050089248,-0.033716958,
-0.056443173,0.0036607347,-0.06864819,-0.0525252,0.0024137245,-0.06875289,-0.08700901,-0.04095776,-0.020247065,-0.13859044,
-0.044460513,0.053159826,-0.022516502,-0.11372532,-0.062455602,0.035512622,-0.062134612,0.10564861,-0.08723617,-0.10182879,
-0.0750232,-0.08094457,-0.05757626,0.107150726,-0.12125431,-0.062379654,-0.080369815,0.031509433,-0.104126886,-0.14369519,
-0.124105826,-0.04797442,-0.03532716,-0.047287453,-0.058628812,-0.002930654,0.008480932,-0.033692643,0.09859101,-0.0038099084,
-0.11925574,0.08505283,-0.0043800175,-0.12878513,0.022826487,-0.12890764,-0.08668264,-0.060061604,-0.01512527,0.1767263,
-0.09603254,-0.18545978,-0.050728425,-0.05402301,-0.08456253,0.073674254,-0.141584,0.12231366,-0.0340936,-0.027940305,
-0.060461447,0.04916584,-0.16506171,0.07396115,0.06921653,0.06596733,-0.07326791,0.018898511,0.010055914,-0.13036102,
-0.11345722,-0.056309514,-0.049825158,0.0060714902,-0.18045975,-0.047908235,-0.1089929,-0.022571737,0.02984058,0.010354732,
-0.022955667,0.028053036,-0.072231434,-0.05197432,-0.07362746,-0.024384314,-0.06405344,0.11285523,-0.046641067,-0.09038697,
0.018144825,-0.021657368,-0.015231004,0.03150279,-0.0476035,-0.14051473,0.042128436,-0.089113764,-0.08311503,-0.15935338,
-0.11351842,-0.19206059,-0.036170658,-0.12090105,-0.10516567,-0.11833255,-0.19433443,-0.13880302,-0.08250737,0.03244466,
-0.066116214,-0.07189044,0.005127859,-0.07621089,-0.02593625,-0.12665747,0.013122835,-0.062493227,-0.058371566,0.001707805,
-0.11681373,0.0031105469,-0.10986739,-0.1075091,0.022957787,0.040763393,0.026736079,-0.017973313,-0.107638024,-0.08548753,
-0.07263941,-0.052223198,-0.15089652,-0.115367055,-0.18135184,0.14622313,-0.14073892,0.019306267,-0.056394283,0.013212492,
-0.004075262,-0.044345602,-0.052356564,0.08435795,0.04717297,0.048423525,-0.06751511,-0.07477109,-0.008411071,-0.033312645,
0.0030362671,-0.09979997,0.01921196,-0.00048160477,0.01867974,-0.21433797,-0.049411155,-0.04995643,0.008468063,-0.0814592,
0.04569215,-0.035149537,-0.028808739,-0.11073703,-0.03232272,-0.037670992,-0.03182955,-0.0731404,-0.036986887,-0.0092630265,
-0.083665885,-0.07957112,-0.058208283,0.058858827,-0.14717604,-0.025503756,-0.034225017,0.032825954,-0.04364472,-0.14029998,
-0.09770192,-0.019270979,-0.065998144,-0.040534116,0.014382785,0.05444004,-0.034574423,-0.028245915,-0.1666084,-0.16090854,
-0.05302402,-0.10139403,0.036711212,-0.09606908,-0.02820557,-0.0025485097,0.012886384,-0.024118597,0.055447087,-0.03641254,
-0.028170446,-0.0006461114,0.04679224,-0.13496903,-0.04320292,0.05290742,-0.058321808,-0.06341738,-0.098014124,-0.1396848,
-0.08710538,0.027212486,-0.04860292,-0.078209296,-0.09567332,-0.09748626,-0.1148463,-0.091500804,-0.043196253,-0.09355799,
-0.06257274,-0.05724123,0.0347589,-0.045546267,0.0005859485,-0.0217804,-0.08424404,-0.002770357,0.06626915,-0.14481948,
0.011852996,-0.06063538,-0.042107813,-0.00716412,-0.04197949,-0.07406156,-0.0025736478,-0.0718202,-0.030286161,-0.06905474,
-0.05555505,-0.032287758,-0.014806181,-0.07408104,-0.04573979,0.012179095,-0.10474525,0.06021175,0.09578164,-0.019279271,
0.04137507,-0.052885666,-0.07092419,0.09911541,0.022777494,0.02717822,-0.15414654,0.06403884,-0.051672015,-0.0051428517,
-0.015339355,-0.06179804,-0.08150572,0.005487885,-0.12760171,-0.033319727,-0.028838562,0.052797765,-0.06491336,0.044332523,
-0.06974795,-0.12963516,-0.122754455,-0.053964857,0.0012208101,-0.032990444,0.07600698,-0.07223999,0.03447076,6.6633656e-06,
-0.06806673,-0.10424504,-0.12610775,-0.016489688,-0.120071076,-0.06900887,-0.02110702,-0.026894022,-0.14883506,-0.06545458,
-0.023045082,-0.10985407,0.06684065,-0.08821487,-0.10458646,-0.04279974,0.13950987,0.064919725,0.00086863677,0.015173958,
0.062669575,0.032078594,0.055326436,-0.14562109,-0.013165563,-0.0893897,-0.07971637,-0.094139434,0.06932539,-0.014894049,
-0.16026278,0.061001197,-0.10249408,0.0667746,0.009966814,-0.08776292,0.07027966,-0.0075683114,0.038834568,0.032638397,
-0.09178067,-0.058001414,-0.176118,-0.05746323,-0.03836427,-0.08375098,-0.034255635,-0.06240506,-0.044456508,-0.1442651,
-0.0123159345,-0.025307957,-0.058107607,-0.10989704,-0.026137255,0.017077286,-0.12493922,-0.07400424,-0.038171075,-0.15381727,
-0.06989251,-0.060498647,-0.07373006,-0.1603863,-0.04251969,-0.027215917,-0.054373674,-0.019525714,0.0037532214,-0.15461361,
-0.08881138,0.034235165,0.012913383,0.05465889,-0.07205983,-0.042444233,0.03898011,-0.069952555,0.038680766,0.021141982,
-0.033872478,-0.03772338,0.039840285,-0.10238391,-0.13366275,-0.15997848,-0.078967124,-0.051026892,0.018455194,-0.09827974,
-0.21180943,-0.07388018,-0.111889035,-0.03285665,-0.023413334,-0.03118126,-0.09314101,0.03153289,-0.029598624,-0.12702999,
-0.014043022,-0.019509858,-0.14424022,-0.092499524,0.1265217,-0.09130454,-0.046984896,-0.06929751,-0.11796707,-0.093710445,
-0.14163116,-0.05642573,-0.032696363,-0.069575615,-0.029089246,-0.054209724,-0.07632159,-0.0051658344,0.019858548,-0.033930603,
-0.14723906,-0.07287529,-0.095075294,-0.058000285,0.0044491654,-0.11950243,0.016950773,-0.049001142,0.0076223672,-0.06927338,
0.028392173,-0.04431093,0.01559609,-0.052465644,0.0018389394,-0.057107307,-0.011612631,0.033783343,-0.061500587,0.06474828,
-0.12766357,0.00674767,-0.11726335,-0.03749649,-0.07640469,-0.124140464,-0.062336825,0.018004743,0.03351212,-0.052657302,
0.07502203,0.019402003,-0.12103822,-0.0071190572,-0.053995,-0.07943435,0.022724079,-0.116805404,0.06761781,0.048208106,
-0.14279903,-0.08225187,0.05865427,-0.1290573,0.049151413,0.058359224,-0.05387912,-0.106915645,0.0054111024,-0.038636196,
-0.05560616,0.060794167,-0.12888719,-0.027848005,-0.08700275,0.066264704,-0.17245822,0.1460816,0.0109261535,-0.13844064,
-0.080736004,-0.024857478,-0.06787654,0.01753333,-0.084730856,-0.08554212,0.0064661186,-0.04932045,-0.11106724,0.10930287,
-0.14725779,-0.060083993,0.00017521673,0.06653166,-0.04930016,-0.011053719,-0.09209361,0.044714767,0.04539527,-0.093561895,
-0.13531208,0.015623861,0.020943211,0.0581444,-0.012349798,-0.13690968,-0.12953699,-0.021993697,-0.058335386,-0.06610928,
-0.12783039,-0.039751787,0.07020604,0.10654657,0.08463734,-0.0127769355,-0.0129445605,-0.15125117,-0.09777907,-0.020358415,
-0.0008995,-0.03759666,-0.07295863,-0.025145588,-0.06063218,0.049536467,-0.039558217,-0.115483016,-0.077970766,0.02243792,
-0.00044275122,-0.07808736,0.0047628535,0.02580198,-0.028334543,-0.07342127,-0.05078549,-0.101840355,-0.009583911,-0.0647821,
-0.14032349,-0.1541404,-0.04080166,-0.029389532,0.056905277,-0.1440686,0.019672312,0.100192174,-0.17845713,0.03630617,
-0.0011196714,-0.07623007,-0.054815482,-0.06037104,-0.04080847,0.09810583,-0.07420447,0.006483165,-0.12820016,-0.026678108,
-0.08909948,-0.1277504,-0.034473144,0.0055903243,-0.11257753,-0.06470186,-0.13113652,0.03632782,-0.00024588866,-0.055034567,
0.09073829,-0.003795106,-0.012153127,0.092920475,-0.0031499038,-0.13390894,0.056897677,-0.034183845,-0.063018054,-0.088786595,
-0.007458921,0.1330087,-0.025878284,-0.14763272,0.04465261,0.03299469,-0.0695354,0.023633722,-0.12286147,0.049351893,
-0.046578445,0.019190898,-0.14918873,-0.0018346279,-0.13177988,0.05681764,0.06272603,0.10822692,-0.13822079,-0.004557574,
-0.081482336,-0.09305523,-0.08507483,-0.021463418,-0.059502535,0.072818995,-0.08412298,-0.044296373,-0.04419956,0.017554132,
-0.023798503,-0.00884162,-0.12803979,-0.06031891,-0.085307956,-0.0430896,-0.12573732,-0.002585871,-0.060530666,0.0015732684,
-0.054900534,-0.08159545,0.013694963,-0.015759237,-0.0096484125,-0.06971354,-0.105127014,-0.0696222,0.024683604,-0.12067207,
-0.088111125,-0.15957868,-0.0027593393,-0.117139645,-0.13651335,-0.10312714,-0.043676782,-0.08658942,-0.17376499,-0.20955741,
-0.0455651,0.031150736,0.020010162,0.003908257,-0.07631894,-0.0018917263,-0.092330046,-0.10557354,0.075040646,-0.08619671,
-0.08809998,-0.09041514,0.01306515,0.024905127,-0.012718096,-0.09876142,0.025049858,0.06755504,-0.0049962164,0.002655098,
-0.03658911,-0.08787437,-0.05493304,-0.01584558,-0.14351739,-0.07155783,-0.10177879,0.047546968,-0.06823361,-0.0053292373,
-0.08095605,-0.021980245,-0.06658333,-0.03566582,-0.13381113,0.008824431,-0.029243646,0.084397085,0.03190051,-0.03434376,
0.06070638,0.0138995275,0.034195945,-0.11232852,-0.028948974,-0.020692388,0.04464262,-0.23792645,-0.035713688,-0.04546203,
0.04767778,-0.11991126,-0.022200717,-0.020502646,-0.05657008,-0.009518882,0.036130246,-0.11387926,-0.030698407,-0.040218856,
-0.055750925,-0.00014714716,-0.048891895,-0.15944764,-0.17349854,0.057958007,-0.12382745,0.036354624,-0.072450005,-0.07398978,
-0.10149196,-0.111231945,-0.11676172,-0.11431077,-0.10967622,0.05967971,0.0414525,0.07330287,-0.04207027,0.0001928785,
-0.11815022,-0.15885924,-0.09811134,-0.11859617,-0.026414458,-0.059082724,0.032224014,0.048126217,-0.071970075,0.0006722707,
0.0039643496,-0.120171964,-0.01898565,0.018939806,-0.05593349,-0.023745073,-0.107158765,0.072880946,-0.04771085,-0.026482241,
-0.16998155,-0.034909084,-0.10461823,0.0077282167,-0.054139692,-0.02357313,-0.15394008,-0.18134604,-0.10627366,-0.06248359,
0.0010661411,-0.05946793,-0.048955105,0.025215577,-0.0132683115,-0.09500543,-0.05288563,-0.04401642,-0.07318775,0.01842135,
0.059738945,-0.032111455,0.096933104,0.007497669,-0.03290362,0.024244685,-0.08576545,-0.06284668,0.019239321,-0.02555285,
-0.04453493,-0.059276015,-0.02135444,-0.05099615,-0.10338975,-0.12051712,0.070432164,-0.058764454,-0.12609115,0.11322205,
0.05474707,-0.059222072,-0.028342752,-0.107737176,0.05083865,-0.00015399625,-0.0013238026,-0.018355146,-0.09865454,0.06785912,
-0.04284597,-0.0077883373,0.079844385,0.0073987017,-0.08598061,0.0050791297,-0.05794886,-0.02998905,-0.026784344,0.020487823,
-0.07607082,0.004680724,-0.13231602,-0.119673505,-0.13448225,-0.11590367,-0.101913154,-0.044230413,0.08225785,0.0071726986,
0.017206473,-0.06725381,-0.0132245505,-0.12471302,-0.090300396,-0.10032304,-0.15647356,-0.064988956,-0.06863497,-0.084306695,
-0.058564767,-0.124494895,-0.07282414,-0.06743504,0.010624034,-0.184694,-0.117166854,0.023864552,0.13008878,0.11184608,
0.053251795,0.082294606,-0.042257518,0.012906491,0.038835127,-0.15599503,0.019041974,-0.09284368,-0.1081208,-0.07709382,
-0.024644582,-0.08337092,-0.14339134,0.047819566,-0.18056956,-0.039443005,0.0003708364,-0.11427739,0.0630597,0.028359879,
0.055337723,0.049316768,-0.07085786,-0.0073444415,-0.116889715,-0.051214598,0.03248367,-0.090200946,-0.018710885,-0.08967354,
-0.016886702,-0.07084275,-0.0073211314,0.051452644,0.042283736,-0.11140246,0.03982846,0.00685827,-0.03443941,-0.049473636,
0.036892448,-0.09807423,-0.07434505,-0.122313485,-0.0162621,-0.22280404,-0.029258842,-0.036213815,-0.1564309,-0.015553054,
-0.05105858,-0.17538795,-0.13037676,0.027205698,0.060677998,-0.041660886,-0.08712319,0.06180427,0.068619795,-0.027358523,
0.08266267,-0.05223646,-0.010887547,-0.038839806,0.034311507,-0.06481502,-0.22816814,-0.16937235,0.054511584,-0.051381286,
0.09023131,-0.050294977,-0.22899136,-0.17700379,-0.06796235,-0.07181171,-0.03812325,-0.079621606,-0.16177091,-0.071159236,
-0.08419517,-0.20622768,0.08301127,-0.101360865,-0.14512266,-0.116592586,0.06347109,-0.0632031,0.0041637896,-0.0216218,
-0.10323526,-0.07653474,-0.11447687,-0.0126117235,0.0010808473,-0.118061036,-0.068917595,-0.09584698,-0.07398343,0.01040563,
-0.0311292,-0.10797034,-0.056701537,0.0005690675,-0.13067836,-0.050800767,0.03442775,-0.119273074,0.01926669,-0.073236525,
-0.10632543,-0.027872657,0.12076707,-0.004266462,-0.033521954,-0.026483398,-0.023653587,-0.05765227,0.047269896,0.033231065,
-0.107699364,-0.012350765,-0.06744393,-0.022881053,-0.066489175,0.039219327,-0.14425716,-0.046453696,0.01809469,-0.0077687018,
-0.012445764,-0.02850955,0.031539906,0.04722558,-0.18296733,0.041733712,-0.07960604,-0.041282035,-0.06946161,-0.019394008,
-0.051995147,-0.060999136,-0.12726094,-0.06558235,0.037424687,-0.05160171,-0.027052296,0.104550675,-0.067039885,-0.15739684,
0.07318093,-0.043705087,0.03814572,0.055778615,-0.07686372,0.042567816,-0.050195348,0.05478801,-0.10854951,0.081579596,
0.089743495,-0.16423666,-0.0047513684,-0.10137162], np.float32).tofile(path + "ge_api_variable_input_x.bin");
